php forum
php mysql forum
php mysql smarty
 
Topic Options
#316202 - 11/01/07 04:23 AM [7.2.2] Pollviewer... Pre-Alpha...
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
Okay, this is early stuff made by me, it's not exactly clean programming skills. But it does the job even it if's basic.

It will show you the votes, who voted, and you can remove votes if you want. It does not work when you allow anonymous users to vote.

Unpack the zip and upload the pollview.php file to the /admin directory, and just call it from your browser. It will show the latest 20 polls where you can click on the view the results.

If you like it, bring on your ideas. I might pick up on them.


Attachments
pollview.zip (16 downloads)
Description: pollview.php




Edited by blaaskaak (11/01/07 08:47 AM)
_________________________

Top
#316203 - 11/01/07 06:35 AM Re: [7.2.2] Pollviewer... Pre-Alpha... [Re: blaaskaak]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
:evil laugh:

/me grabs zip and runs away shrieking...

gonna try this one!! smile
_________________________

Top
#316215 - 11/01/07 09:24 AM Re: [7.2.2] Pollviewer... Pre-Alpha... [Re: sirdude]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
I was glad the download count was still at zero, I replaced the zip. Can't believe I uploaded what I did this morning, with url's hardcoded in it, table prefix hardcoded. Pff.

I did get rid of one query though smile
_________________________

Top
#316218 - 11/01/07 10:45 AM Re: [7.2.2] Pollviewer... Pre-Alpha... [Re: blaaskaak]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
$pollnr = get_input("pollnr","get");
$showvoters = get_input("showvoters","get");


^^ might need that wink
_________________________

Top
#316219 - 11/01/07 10:53 AM Re: [7.2.2] Pollviewer... Pre-Alpha... [Re: sirdude]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
Originally Posted By: sirdude
^^ might need that wink


Yeah, I might. But here it works. I guess it doesn't on other servers laugh

b.t.w, you'd also need:
$delete = get_input("delete","get");


Edited by blaaskaak (11/01/07 10:54 AM)
_________________________

Top
#316220 - 11/01/07 11:03 AM Re: [7.2.2] Pollviewer... Pre-Alpha... [Re: blaaskaak]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
only if you wanna delete!! wink

i don't screw with the polls.. read-only baby! laugh
_________________________

Top
#316221 - 11/01/07 11:32 AM Re: [7.2.2] Pollviewer... Pre-Alpha... [Re: sirdude]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
We once in a while get a request to remove a vote. It's not that I'm fooling around deleting votes smile

I use this script maybe 5-6 times a year, just used it this week and thought, let's share smile
_________________________

Top
#316230 - 11/01/07 04:46 PM Re: [7.2.2] Pollviewer... Pre-Alpha... [Re: blaaskaak]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Looks good Yarp™, thanks smile
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316253 - 11/05/07 11:48 AM Re: [7.2.2] Pollviewer... Pre-Alpha... [Re: Gizmo]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Yes, thank you smile
_________________________
- Allen wavey
- What Drives You?

Top
#316642 - 01/25/08 04:42 AM Re: [7.2.2] Pollviewer... Pre-Alpha... [Re: AllenAyres]
Organizer Offline
User

Registered: 08/17/02
Posts: 34
I get it to show the polls, but no matter what link I click it still just refreshed the list of polls, I dont get any details up?
_________________________
Organizer

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks